package com.beibojd.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: 洪耀荣
 * @Date: 2021-06-19 15:10:29
 */
@Table(name = "orderall")
public class Order {
    @Id
    @Column(name = "uuid")
    private Integer uuid;
    @Column(name = "orderid")//支持查询
    private Integer orderId;
    @Column(name = "customerId")
    private Integer customerId;
    @Column(name = "transport")
    private String transport;
    @Column(name = "customername")
    private String customerName;
    @Column(name = "goodsname")
    private String goodsname;
    @Column(name = "goodsfactory")
    private String goodsFactory;
    @Column(name = "goodsmodel")
    private String goodsModel;
    @Column(name = "goodsspecs")
    private String goodsSpecs;
    @Column(name = "goodsnum")
    private double goodsNum;
    @Column(name = "goodsprice")
    private double goodsPrice;
    @Column(name = "goodsunit")
    private String goodsunit;
    @Column(name = "remarks")
    private String remarks;
    @Column(name = "date")
    private String date;

    public Order(Integer orderId, String customerName, String goodsname, String goodsModel, String goodsSpecs) {
        this.orderId = orderId;
        this.customerName = customerName;
        this.goodsname = goodsname;
        this.goodsModel = goodsModel;
        this.goodsSpecs = goodsSpecs;
    }

    public Order() {
    }

    public Order(Integer orderId, Integer customerId, String transport, String customerName, String goodsname, String goodsFactory, String goodsModel, String goodsSpecs, double goodsNum, double goodsPrice, String goodsunit, String remarks, String date) {
        this.orderId = orderId;
        this.customerId = customerId;
        this.transport = transport;
        this.customerName = customerName;
        this.goodsname = goodsname;
        this.goodsFactory = goodsFactory;
        this.goodsModel = goodsModel;
        this.goodsSpecs = goodsSpecs;
        this.goodsNum = goodsNum;
        this.goodsPrice = goodsPrice;
        this.goodsunit = goodsunit;
        this.remarks = remarks;
        this.date = date;
    }

    public String getGoodsSpecs() {
        return goodsSpecs;
    }

    public void setGoodsSpecs(String goodsSpecs) {
        this.goodsSpecs = goodsSpecs;
    }

    public Integer getUuid() {
        return uuid;
    }

    public void setUuid(Integer uuid) {
        this.uuid = uuid;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getTransport() {
        return transport;
    }

    public void setTransport(String transport) {
        this.transport = transport;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getGoodsFactory() {
        return goodsFactory;
    }

    public void setGoodsFactory(String goodsFactory) {
        this.goodsFactory = goodsFactory;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public double getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(double goodsNum) {
        this.goodsNum = goodsNum;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsunit() {
        return goodsunit;
    }

    public void setGoodsunit(String goodsunit) {
        this.goodsunit = goodsunit;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
